<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="java.io.*, java.sql.*, java.util.*,LS.*, date.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- styles시트 -->
<link href="assets/css/bootstrap.css" rel="stylesheet">
<link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="assets/css/docs.css" rel="stylesheet">

<script type="text/javascript"
	src="http://code.jquery.com/jquery-1.7.min.js"></script>
<script type="text/javascript" src="assets/smartPop/jquery.smartPop.js"></script>
<link rel="stylesheet" href="assets/smartPop/jquery.smartPop.css" />
<script>
	$(document).ready(function() {
		$('#a').click(function() {
			lending = $('#id').val();
			m_name = $('#id>option:selected').text();
			u_id =<%=request.getParameter("id") %>;
			
			location.href='realLendingSmartPop.do?id='+lending+'&u_id='+u_id+'&m_name='+m_name;

		});
	});
	
	function smartPopClose() {
		$.smartPop.close();
	}
</script>
</head>
<body>
<center>
	학번 및 사번이 <b>[<%=request.getParameter("id") %>]</b> 인 분께서<br> 모델명 
	<b style="color:red">
	<select id="id" name="equipment_id" style="margin-top:7px">
	<c:forEach var="e" items="${aprovelist}">
		<option value="${e.lending_id }">${e.model_name }</option>
	</c:forEach>
	</select></b> 를 빌리는 것이 맞습니까?
	<br><br>
	
	<div style="text-align: right;"><br>
		<Button id="a" class="btn" name="ok" >확인</Button>
	</div>
</center>
</body>
<script type="text/javascript" src="assets/js/bootstrap.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$('.dropdown-toggle').dropdown();
	});
</script>
</html>

